package com.lightkits.wms.domain.purchasereceive.service;

import com.lightkits.common.db.entity.BdTransaction;
import com.lightkits.common.db.entity.ScmPoTrack;
import com.lightkits.common.db.entity.event.BdEvent;
import com.lightkits.common.db.entity.event.BdEventRecord;
import com.lightkits.framework.common.model.CheckResult;
import com.lightkits.wms.dto.purchasereceive.models.SavePoParamsDTO;
import com.lightkits.wms.dto.tagservice.model.TagViewDto;

import java.util.List;

/**
 * CreateParamsDomain
 *
 * @author jing.wei@hand-china.com
 * Created on 2019/4/26 16:33
 */
public interface CreateParamsDomain {
    BdEvent createEvent(SavePoParamsDTO dto, Long eventTypeId);

    BdEventRecord createRecord(String objectType, Long objectId, String keyValue, String recordType);

    BdTransaction createTranscation(SavePoParamsDTO dto, Long transTypeId, Long moveTypeId);

    ScmPoTrack createPoTrack(SavePoParamsDTO dto, String actionReord);

    List<TagViewDto> createTagParams(SavePoParamsDTO dto,
                                     String type,
                                     BdEvent event);
}
